<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<head>
    <script src="./js/jquery-1.4.2.min.js"></script>
    <script src="./js/core.js"></script>
    <script src="./js/supportCode.js"></script>
    <link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="./css/style.css">
</head>

<body style="padding: 10px">
	<!-- <button id="addMovie" class="btn btn-default" type="submit">添加标准影片</button>
	<button id="addProperty" class="btn btn-default" type="submit">添加分析属性</button> -->
	最终选定的样本数(K值):<input id="k" value="3" size="5">（设置1-6之间的整数）<br/><br/>
	<table class="table table-striped table-bordered table-condensed">
		<thead>
			<tr id="title">
				<th>序号</th><th>类型（标签）</th><th>片名</th>
				<th class="t1">打斗(次)</th><th class="t2">接吻(次)</th>
				<th class="total">求和</th>
			</tr>
		</thead>
		<tbody id="tbody">
			<!-- <tr>
				<td class="rowIndex"></td>
				<td><input type="text" class="type"></td>
				<td><input type="text" class="name"></td>
				<td><input type="text" class="p1"></td>
				<td><input type="text" class="p2"></td>
			</tr> -->
		</tbody>
	</table>
	<button id="switchCalcSpaceBtn" onclick="switchCalcSpace()" class="btn btn-default" type="submit">显示计算区域</button>
	<button onclick="execKNNCalc()" class="btn btn-default" type="button">执行KNN</button>
	<table class="table table-striped table-bordered">
		<thead>
			<tr id="targetTitle">
				<th>类型</th><th>类型（标签）</th><th>片名</th><th class="t1">打斗(次)</th><th class="t2">接吻(次)</th>
			</tr>
		</thead>
		<tbody>
			<tr id="newMovie">
				<td class="rowIndex">新增的影片</td>
				<td><input id="newMovieLabel" type="text" class="type" readonly="readonly" placeholder="KNN执行后生成标签"></td>
				<td><input type="text" class="name" value="战狼2"></td>
				<td><input type="text" class="p1" placeholder="请填入向量数"></td>
				<td><input type="text" class="p2" placeholder="请填入向量数"></td>
			</tr>
			<tr class="knnTr">
				<td class="rowIndex">合计</td>
				<td>#</td>
				<td>#</td>
				<td class="p1"></td>
				<td class="p2"></td>
			</tr>
		</tbody>
	</table>
</body>
